﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="Projet1VideoAulaNery.WebForm1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<script runat="server" language="C#">
    void botaoClique(Object sender, EventArgs e) {
        lbl1.Text = "Novo texto do Neri";
}        
</script>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Página Web Abimael</title>
</head>
<body>

    <form id="form1" runat="server">
    <div>
        <asp:Label ID="lblTitulo" runat="server" Font-Size="24px" ForeColor="red"
        BackColor="#FFFFFF" BorderWidth="6px" BorderStyle="Double" Width="500"
        style="text-align:center" Font-Names="Arial" ToolTipo="Cuiabá-28-02/2013"    
        Text="Video Aulas Nery"></asp:Label>    
    </div>
    <p>
        <asp:Button ID="Button1" runat="server" onclick="botaoClicado" 
            Text="Clique Aqui" />
    </p>
    <p>
        <asp:Label ID="lbl1" runat="server" BackColor="Yellow" BorderColor="Yellow" 
            BorderStyle="Double" Font-Names="Arial" Font-Size="24px" ForeColor="#0000CC" 
            Text="VideoAulas Nery" Width="500px"></asp:Label>
    </p>
    <p>
        <asp:Button ID="Button2" runat="server" onclick="Button2_Click" Text="Clique aqui Tambem" />
        <asp:Calendar ID="Calendar1" runat="server" BackColor="#FFFFCC" 
            BorderColor="#FFCC66" BorderWidth="1px" DayNameFormat="Shortest" 
            Font-Names="Verdana" Font-Size="8pt" ForeColor="#663399" Height="200px" 
            ShowGridLines="True" Width="220px">
            <DayHeaderStyle BackColor="#FFCC66" Font-Bold="True" Height="1px" />
            <NextPrevStyle Font-Size="9pt" ForeColor="#FFFFCC" />
            <OtherMonthDayStyle ForeColor="#CC9966" />
            <SelectedDayStyle BackColor="#CCCCFF" Font-Bold="True" />
            <SelectorStyle BackColor="#FFCC66" />
            <TitleStyle BackColor="#990000" Font-Bold="True" Font-Size="9pt" 
                ForeColor="#FFFFCC" />
            <TodayDayStyle BackColor="#FFCC66" ForeColor="White" />
        </asp:Calendar>
        <asp:ListBox ID="ListBox1" runat="server">
            <asp:ListItem>ASP</asp:ListItem>
            <asp:ListItem>ANDROID</asp:ListItem>
        </asp:ListBox>
        <asp:RadioButton ID="RadioButton1" runat="server" Checked="True" 
            Text="Masculino" />
    </p>
    <asp:DropDownList ID="DropDownListCursos" runat="server" AutoPostBack="True" 
        onselectedindexchanged="DropDownListCursos_SelectedIndexChanged">
        <asp:ListItem Value="1">ASP.NET</asp:ListItem>
        <asp:ListItem Value="2">ANDROID</asp:ListItem>
    </asp:DropDownList>
    <asp:Label ID="LabelCursos" runat="server" Text="Label"></asp:Label>
    <asp:ListBox ID="ListBox2" runat="server" AutoPostBack="True"
        onselectedindexchanged="ListBox2_SelectedIndexChanged" 
        style="margin-top: 52px" SelectionMode="Multiple">
        <asp:ListItem Value="1">Delphi</asp:ListItem>
        <asp:ListItem Value="2">Algoritmo</asp:ListItem>
        <asp:ListItem Value="3">HTML</asp:ListItem>
    </asp:ListBox>
    <asp:Button ID="Button3" runat="server" onclick="Button3_Click" 
        Text="Cursos Selecionados" />
    <asp:TextBox ID="tbCurosSelecionados" runat="server" Width="215px"></asp:TextBox>
        <asp:DropDownList ID="DropDownListFamilia" runat="server">
        </asp:DropDownList>
     <asp:CheckBoxList ID="CheckBoxList1" runat="server" AutoPostBack="True"
        onselectedindexchanged="CheckBoxList1_SelectedIndexChanged" RepeatColumns="4">
         <asp:ListItem Value="1">Asp.Net</asp:ListItem>
         <asp:ListItem Value="2">Android</asp:ListItem>
         <asp:ListItem Value="3">Banco</asp:ListItem>
         <asp:ListItem Value="4">Delphi</asp:ListItem>
    </asp:CheckBoxList>
    <asp:Label ID="LabelCheck" runat="server" Text="Label"></asp:Label>
     <p>
        <asp:CheckBox ID="CheckBoxCurso" runat="server" AutoPostBack="True"
             oncheckedchanged="CheckBoxCurso_CheckedChanged" Text="Gostou do Curos?" />
         <asp:Label ID="LabelGostou" runat="server" Text="Label"></asp:Label>
         <asp:DropDownList ID="DropDownListPalestras" runat="server" Height="16px" Width="151px"></asp:DropDownList>
         <asp:Table ID="Table1" runat="server" BackColor="#99FFCC" Width="283px">
             <asp:TableRow runat="server">
                 <asp:TableCell runat="server">Código</asp:TableCell>
                 <asp:TableCell runat="server">Descrição</asp:TableCell>
             </asp:TableRow>
             <asp:TableRow runat="server">
                 <asp:TableCell runat="server">1</asp:TableCell>
                 <asp:TableCell runat="server">Android</asp:TableCell>
             </asp:TableRow>
             <asp:TableRow runat="server">
                 <asp:TableCell runat="server">2</asp:TableCell>
                 <asp:TableCell runat="server">ASP.NET</asp:TableCell>
             </asp:TableRow>
             <asp:TableRow runat="server">
                 <asp:TableCell runat="server">3</asp:TableCell>
                 <asp:TableCell runat="server">C#</asp:TableCell>
             </asp:TableRow>
         </asp:Table>
         <asp:PlaceHolder ID="PlaceHolder1" runat="server"></asp:PlaceHolder>
     </p>
        
    <asp:Image ID="Image2" runat="server" Height="152px" 
        ImageUrl="~/Resources/Koala.jpg" Width="208px" />
        
    <asp:BulletedList ID="BulletedList1" runat="server">
    </asp:BulletedList>
        
    <asp:Image ID="Image1" runat="server" Height="164px" 
        ImageUrl="~/imagens/Penguins.jpg" Width="268px" />
    <asp:HyperLink ID="HyperLink1" runat="server" Height="195px" 
        ImageUrl="~/Resources/google.jpg" NavigateUrl="http://www.google.com.br" 
        Target="_blank">Abre Site</asp:HyperLink>
        
    <asp:HyperLink ID="HyperLinkManual" runat="server">HyperLink</asp:HyperLink>
    <p>
        <asp:LinkButton ID="LinkButton1" runat="server" 
            PostBackUrl="http://www.unoparvirtual.com.br">LinkButtonChamar Página</asp:LinkButton>
        <asp:LinkButton ID="LinkButton2" runat="server" onclientclick="acessarSite();">LinkButtonViaScript</asp:LinkButton>
    </p>
        
    </form>
    
</body>
    <script type="text/javascript">
        function acessarSite() {
            javascript: window.open("http://www.unoparvirtual.com.br");
        }
    </script>
</html>
